home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
Tools
/
ShareMailGiftware
/
Anim2mpegB
/
SmartScale.doc
< prev
next >
Wrap
Text File
|
2002-10-27
|
2KB
|
51 lines
Short: A CLI/WB program used for gfx conversion scripts & gfx info.
Author: lombi@iprimus.com.au (Lorence Lombardo)
Uploader: lombi@iprimus.com.au (Lorence Lombardo)
Type: gfx/conv
Requires: reqtools.library
SmartScale v1.5a (C) 1996-2001 Lorence Lombardo.
What the #@$% is SmartScale ?
SmartScale is a little program I wrote intended for graphic conversion script
files. It has 3 output modes. Con, env & ask. You can even use it just for
graphics info. It will look at a picture or animation and tell you the
dimensions of that picture and output the information to the con or env.
It has internal ILBM support and will use datatypes for other graphic types.
If you enter x & y scale args, the args will be recalculated & output'd in
order to keep the aspect ratio of the picture or animation the same.
You can also scale using the percentage argument instead of X & Y coordinates.
If you use the ask mode you will be asked to enter an X & Y scale or %.
Ideal for script files. If no file argument is given when in "ask" or "con"
mode a file requestor will be automatically opened. If executed from the
WorkBench or with no parameters information about the selected graphics file
will be displayed in a requestor. You will then have the option of peforming
scale calculations.
See the following archives on the aminet for example usage of SmartScale:-
Anim2mpegS.lha, Anim2mpegB.lha, Anim2gif.lha, Anim2qt.lha & Mp2anim.lha
You may also wish to update these script/progs with this new version of
SmartScale.
Usage:
SmartScale [con/env/ask] [file name] [x scale] [y scale]
or
SmartScale [con/env/ask] [file name] [%] [1-100]
eg. SmartScale env pic.iff 640 200
or
SmartScale con pic.iff % 50
ENV outputs:
XIN & YIN input size of picture
DIN depth of picture
FT file type
XOUT & YOUT calculated size of picture within the [X,Y,% scale] args
while still maintaining the correct aspect ratio.